<h3>Image (optional)</h3>
<div class='yui-gc'>
    <div class='yui-u first'>
        <iframe 
           frameborder="0" 
           id="image_picker" 
           scrolling="auto" 
           src="<?php echo get_installed_path()?>/admin/files/browse?files_filter_by=image"
           width="99%" 
           height="300"  style='background:#fff;border:1px solid #bbb;margin-top:5px'></iframe>    
    </div>
    <div class='yui-u'>
        <h2>Your Selected Image</h2>
        <span id='img_placeholder'><?php
            $img_id = '';
            if ( $news->is_loaded() )
            {
                $img_id = $news->get('file_id');            
            }
            if ( !empty($img_id) )
            {
                $path = get_installed_path();
                use_helper('admin/files');
                $path_to_file = public_path_to_file($img_id);
                echo "<img src='$path/img.php?src=$path/$path_to_file&w=200' id='news_image' align='absmiddle' />";                                               
            }
        ?></span>
        
        <?php echo hidden_field_tag('news[file_id]',$img_id, array('id'=>'news_file_id')); ?>
        
    </div>
</div>